package com.gulimall.authserver.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@ConfigurationProperties(prefix = "spring.mail")
@Data
@Component
public class MyEmailConfigProperties {
    /**
     * 用户名
     */
    private String username;

    /**
     * 邮箱的SMTP服务器
     */
    private String host;

    /**
     * 密码
     */
    private String password;

    /**
     * 字符集
     */
    private String charset;
}
